import request from '@/utils/request'

// 订单列表
export function orderList(query) {
  return request({
    url: '/jbl-order/api/admin/v1/order/select/page',
    method: 'get',
    params: query
  })
}

// 订单详情
export function orderDetail(query) {
  return request({
    url: '/jbl-order/api/admin/v1/order/detail',
    method: 'get',
    params: query
  })
}

// 个人提现
export function userwithdrawList(query) {
  return request({
    url: '/jbl-user-center/api/admin/v1/accountWithdraw/pageList',
    method: 'get',
    params: query
  })
}

// 用户提现审核
export function isagreeWithdraw(data) {
  return request({
    url: '/jbl-user-center/api/admin/v1/accountWithdraw/updateStatus',
    method: 'post',
    data
  })
}
